#ifndef DIRECTION_H_
#define DIRECTION_H_

class Direction
{
public:
    Direction();
    virtual ~Direction();
    
    void clear();
    
    void addUp();
    void addLeft();
    void addRight();
    void addDown();
    
    void add(const Direction & direction);
    
    Direction & operator=(Direction & other);
    
    int getDirectionX() const;
    int getDirectionY() const;

private:
    int dirX;
    int dirY; 
};

#endif /*DIRECTION_H_*/

